Skip to content

Fix SeqManager::GetMaxOutput()#1840

Merged
ibc merged 2 commits into
v3from
fix-seq-manager-get-max-output
Jun 18, 2026
Merged

Fix SeqManager::GetMaxOutput()#1840
ibc merged 2 commits into
v3from
fix-seq-manager-get-max-output

Conversation

@ibc

@ibc ibc commented Jun 18, 2026

Copy link
Copy Markdown
Member

Details

  • Fixes SeqManager::GetMaxOutput() reutrns wrong value #1839
  • Make SeqManager::GetMaxOutput() account for initialOutput.
  • GetMaxOutput() returned the internal offset-less max output, while the sequence numbers it was compared against (in Consumer.cpp) carry the initialOutput offset. Since initialOutput is always non-zero, the check at Consumer.cpp never matched, leaving lastSentPacketHasMarker stuck at false and skewing the simulcast sync seq value.

# Details

- Fixes #1839
- Make `SeqManager::GetMaxOutput()` account for `initialOutput`.
- `GetMaxOutput()` returned the internal offset-less max output, while the sequence numbers it was compared against (in `Consumer.cpp`) carry the `initialOutput` offset. Since `initialOutput` is always non-zero, the check at `Consumer.cpp` never matched, leaving `lastSentPacketHasMarker` stuck at `false` and skewing the simulcast sync seq value.
@ibc ibc merged commit d9753a8 into v3 Jun 18, 2026
52 checks passed
@ibc ibc deleted the fix-seq-manager-get-max-output branch June 18, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

SeqManager::GetMaxOutput() reutrns wrong value

1 participant